package com.crm.business.crm.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crm.business.servlet.BaseService;
import com.crm.common.crm.entity.BO.BillOrderPoolBO;
import com.crm.common.crm.entity.PO.BillCrmOrderPool;
import com.crm.common.ka.core.common.Result;


import java.util.Map;

public interface BillCrmOrderPoolService extends BaseService<BillCrmOrderPool> {

    IPage<BillCrmOrderPool> queryPageList(BillOrderPoolBO billOrderPoolBO);

    Result<BillCrmOrderPool> queryById(Integer id);

    Result<Map<String, Object>> update(BillCrmOrderPool billCrmOrderPool);

    /**
     * 设置账单池权限
     * @param auth
     */
    void setOrderPoolAuth(JSONObject auth);
}
